﻿using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.PB;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.PB
{
    public partial interface IPB_CirculationBillItemBusiness
    {
        Task<PageResult<PB_CirculationBillItem>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<PB_CirculationBillItem> GetTheDataAsync(string id);
        Task AddDataAsync(PB_CirculationBillItem data);
        Task UpdateDataAsync(PB_CirculationBillItem data);
        Task DeleteDataAsync(List<string> ids);

        Task<PageResult<PB_CirculationBillItemDTO>> GetDataDTOListAsync(PageInput<PB_CirculationBillItemConditionDTO> input);
        Task<PageResult<PB_CirculationBillItemDTO>> GetDataByDayDTOListAsync(PageInput<PB_CirculationBillItemConditionDTO> input);
        Task<PageResult<TrayFlowDTO>> GetTrayFlowDTOListAsync(PageInput<TrayFlowConditionDTO> input);
    }
}